package com.spa.application.command.admin;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AdminRoleEditCommand {

    @NotNull(message = "角色id不能为空")
    private Long id;

    private List<String> newPermission;

    private List<String> dataPermission;

}
